3D Color Vision's profile

ANALOG SENSORS AND INPUTS PRACTICE

Analog Sensors and Inputs practice
Analog sensors are devices that measure physical attributes such as temperature, pressure, or sound level and emit an analog electrical signal.

For this practice we seek to identify the ADC value on Arduino Uno with a variation with the potentiometer for binary values and decimal responses.
Binary result:

int ADCvalue = 0;
void setup()
{
  Serial.begin(9600);
}
void loop()
{
  ADCvalue = analogRead(A0);
  Serial.println (ADCvalue,BIN);
  delay(2000); // Wait for sensorValue millisecond(s)
}
Decimal result:
int ADCvalue = 0;
void setup()
{
  Serial.begin(9600);
}
void loop()
{
  ADCvalue = analogRead(A0);
  Serial.println (ADCvalue);
  delay(2000); // Wait for sensorValue millisecond(s)
}

Tension results
int ADCvalue = 0;
float voltaje=0;
void setup()
{
  Serial.begin(9600);
  
}
void loop()
{
  ADCvalue = analogRead(A0);
  voltaje= ADCvalue *0.0048 ;
  Serial.println (voltaje);
  delay(2000); // Wait for sensorValue millisecond(s)
}
ANALOG SENSORS AND INPUTS PRACTICE
Published:

ANALOG SENSORS AND INPUTS PRACTICE

Published:

Creative Fields